/* 
    Document   : battleships
    Created on : 29/12/2011, 19:39:21
    Author     : elad
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

body {
    background-color: #C5DDFC;
}

#mainBody, #gameBody {
    border-radius: 15px;
    box-shadow: 10px 10px 5px #888888;
    background-color: #1484E6;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;
    width: 480px;
    height: 320px;
    margin-top: 50px;
}

h4 {
    -webkit-margin-before: 5px;
    -webkit-margin-after: 5px;
}

#gameBody {
    width: 880px;
    height: 520px;
    padding-top: 25px;
    padding-left: 25px;
}

#playerTitle {
    font-weight: bold;
    font-size: larger;
    margin-bottom: 20px;
}

#welcome {
    background-image: url("../images/welcome.jpg");
}

#welcome, #numOfPlayers, #addPlayer {
    background-color: #1484E6;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 480px;
    height: 320px;
}

#addPlayer {
    display: none;
    width: 280px;
    margin-top: 20px;
}

.content {
    margin-left: auto;
    margin-right: auto;
}

#numOfPlayers {
    background-position: bottom;
    background-repeat: repeat-x;
    border-radius: 10px;
    position: relative;
    display: none;
}

#numOfPlayers .content{
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 20%;
}

#slider {
    margin-top: 20px;
}

.next {
    float: right;
    bottom: 55px;
    right: 10px;
    display: none;
}

#swap {
    float: right;
    bottom: 55px;
    right: 10px;
    display: none;
}

#loading {
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: gray;
    display: none;
    opacity: 0.5;
}

.square {
    width: 35px;
    height: 35px;
    margin: 2px;
    border-style: solid;
    border-width: thin;
    border-color: black;
    border-radius: 3px;
    float: left;
}

.title{
    text-align: center;
    font-weight: bold;
    vertical-align: bottom;
}

.rowEnd {
    clear: both;
}

#quit {
    position: absolute;
    bottom: -30px;
    width: 150px;
    height: 30px;
    right: 0px;
    border-radius: 0 0 15px 15px;
    box-shadow: 10px 10px 5px #888888;
    background-color: #E69700;
    vertical-align: bottom;
    border: 0px;
    text-color: white;
}

#loading .content {
    margin-top: 150px;
    width: 40px;
    opacity: 1;
}

#board {
    display: none;
    float:left;
    padding: 10px;
}

#players {
    float: left;
    width: 380px;
}

#addShip, #removeShip {
    display: none;
}

.subSquare {
    background-color: pink;
}

.hitSquare {
    background-color: red;
}

.markedSquare {
    background-color: lightskyblue;
}

.missedSquare {
    background-color: silver;
}

ul#icons li {
    margin: 2px;
    position: relative;
    padding: 4px 0;
    cursor: pointer;
    list-style: none;
}

div.playerPick {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    font-size: 18px;
    font-weight: normal;
}

div.hoveredPlayer {
    font-weight: bold;
    border-right-style: solid;
    border-left-style: solid;
    border-bottom-style: solid;
    border-top-style: solid;
    border-right-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    border-top-width: 1px;
}

#playersList {
    padding-left: 30px;
    padding-top: 22px;
    font-size: 22px;
    font-weight: bold;
    height: 85%;
}

#uploadForm {
    height: 100%;
    border: 0px;
}

#upload {
    font-size: 20px;
    border: 0px;
    margin: 15px;
}

#upload fieldset {
    border: 0px;
    padding-top: 50px;
}